<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function Person(){
            this.eye = 2;
            this.head = 1;
        }
        function Woman(){

        }
        Woman.prototype = new Person()
        Woman.prototype.constructor = Woman

        const red = new Woman()
        console.log(red)
        
        function Man(){
            
        }
    </script>
</body>
</html>